package com.glodon.paas.databag.biz;

import com.glodon.paas.databag.model.DatabagTask;

/**
 * Task分派服务,负责与job-server的交互.
 * 
 * @author botao.liao
 *
 */
public interface DispatcherBiz {

    /**
     * 向job-server提交一个Task
     * 
     * @param task 
     * @return job-server返回的TaskId
     */ 
    public String dispatch(DatabagTask task); 
}
